projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa5587
)
testgtk: Get rid of gdk_drawable_get_size() usage
author
Benjamin Otte
<otte@redhat.com>
Mon, 20 Sep 2010 14:47:06 +0000
(16:47 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:44 +0000
(15:11 +0200)
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index 355c2127a3d9f0a444be137c4261436d13a993ac..66efa9efc12b7139052d05765c4c12775e500906 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-8697,7
+8697,9
@@
find_widget (GtkWidget *widget, FindWidgetData *data)
while (window != gtk_widget_get_window (gtk_widget_get_parent (widget)))
{
gint tx, ty, twidth, theight;
- gdk_drawable_get_size (window, &twidth, &theight);
+
+ twidth = gdk_window_get_width (window);
+ theight = gdk_window_get_height (window);
if (new_allocation.x < 0)
{